package com.example.music.data

import android.net.Uri

data class Music(
    val id: Long,
    val title: String,
    val artist: String,
    val album: String,
    val duration: Long, // in milliseconds
    val uri: Uri,
    val albumArt: Uri? = null,
    val size: Long = 0,
    val dateAdded: Long = 0
)

data class Playlist(
    val id: Long,
    val name: String,
    val musicList: List<Music> = emptyList(),
    val dateCreated: Long = System.currentTimeMillis()
)

enum class PlaybackState {
    PLAYING,
    PAUSED,
    STOPPED,
    BUFFERING
}

enum class RepeatMode {
    NONE,
    ONE,
    ALL
}

enum class ShuffleMode {
    OFF,
    ON
}
